package com.grayson.wordsfilter.utils;

/**
 * WordUtils
 *
 * @Description:
 * @Author: grayson
 * @Version 1.0
 * @Date: 2023-05-11 22:52
 **/
public class WordProcessUtil {

    public static String wordReplace(String word, char replaceChar){
        int len = word.length();
        StringBuffer sb = new StringBuffer(len);
        for (int i = 0; i < len; i++) {
            sb.append(replaceChar);
        }
        return sb.toString();
    }
}